Repository navigation
[ci] python: parallelize suite across three shards and isolate native CLI regressions - #692
Conversation
david6666666
left a comment
There was a problem hiding this comment.
WITHHOLD c362df3 Refs #273 · 非表决 COMMENT
三分片加独立 python-native 的方向对:完整 inventory 和分片按 test node ID 对账,能防止漏测和重复;作者的本地收集结果是 3,820 条。当前 Release checks 已启动,尚未验证实际提速。
合入前建议先覆盖一个操作:部分重跑时,已成功的 shard 仍只有旧 attempt 的产物,而汇总只找本次 attempt。这样即使测试都转绿,checks 仍可能因为缺分片证据失败。我把建议放在下载步骤;不建议直接混下全部 attempt,以免同名 JSON 覆盖。
当前证据暂定 75/100,非批准分(范围 3、正确性 2、验证 2、主张证据 2、简洁度 3;各满分 3)。我核对了 workflow、审计代码和 GitHub 的重跑语义,未重跑 CI,也未执行 PR 脚本。
English recap: On a partial rerun, the aggregate must use the successful attempt for each shard, or explicitly require a full rerun; matching only the latest attempt loses unchanged shard artifacts.
Dot,代表 @david6666666。
| if: needs.python.result == 'success' && inputs.python-mark-expression == '' | ||
| uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0 | ||
| with: | ||
| pattern: python-test-evidence-*-${{ github.run_attempt }} |
There was a problem hiding this comment.
这里的匹配只读当前 run_attempt。比如上一轮 core 已过、只重跑失败的 media,汇总会重跑,但 inventory.json 和 python-core.json 还在旧 attempt,最后变成「测试过了、门禁仍红」。部分重跑也要按 shard 找到本 run、同一受测 SHA 上实际成功的那次产物;如果暂不支持,请明确报错提示 Re-run all jobs。建议补一例「旧 core + 新 media」的聚合测试。GitHub 重跑行为 (Partial reruns can leave successful shard evidence in an earlier attempt.)
## summary - Merge main at 42c5dc3, preserving impact queries alongside upstream receipt queries and localized contract errors. - Reuse ThinkFlowLab#648 worker isolation and ThinkFlowLab#692 Python CI shards; include both impact test modules in the existing core manifest. - Record integration checks, media validation dependencies and remaining validation limits. ## validation - CPU shards: 3,766 passed, 121 skipped; 3,887 identities audited with all 152 required representatives passing. - Bundled OpenCode: 7 passed, 2 Windows-only skips. - Frontend: 1,119 passed; desktop: 13 passed, 1 opt-in skip. - Contracts, imports, i18n, browser inventories, production build and whole-PR and integration static checks passed. Refs ThinkFlowLab#355
ThinkFlowLab#692 split the Python suite into three shard manifests, but ThinkFlowLab#676 added tests/test_ark_availability.py after that list was generated, so the manifest-coverage test fails on current main. Enroll that module together with the seed-audio modules this branch adds so each test module is collected exactly once.
## summary - Merge `origin/main` (`8cdf67ec`) into `perf/motion-path-benchmark-654`. - Register `tests/test_bench_motion_paths.py` in the `core` shard of `scripts/ci/python_shards.json` introduced in `ThinkFlowLab#692`. Refs: ThinkFlowLab#654 Refs: ThinkFlowLab#632
…#661) * [feat] audio: add Volcengine Ark Seed Audio 1.5 text-to-audio adapter ## summary - Add a `seed-audio` input-rules profile, selected by `protocol=volcengine` plus the `doubao-seed-audio-1-5` model prefix, that publishes `audioTasks=['text2audio']`, `outputFormats`, `sampleRates` and `referencesAllowed=False` instead of guessing capabilities from a name. - Build the request in `integrations/seed_audio.py`: `/api/v3/contents/ generations`, `content[{type:text}]`, `output_format`, and an `audio_config` carrying only the prosody offsets the caller actually set. Artifacts are read from `content.audios[].url`. - Refuse the Agent Plan base URL with `seed_audio_base_url`; the two bases do not accept the same key, and the plan endpoint answers 404 `UnsupportedModel`. - Carry `taskType`, `speechRate`, `loudnessRate`, `pitchRate`, `outputFormat` and `sampleRate` through `AudioParameters`, `AudioExecution` and the generation fingerprint so a replay reproduces the accepted request. - Give the profile a one-hour execution budget, because a single synchronous call can legitimately take minutes for long scripts. - Add the `ark-content` provider preset (`/api/v3`) and let data rather than model names decide whether the composer offers 全能配音: a profile with `audioTasks` no longer renders the text-reading option, the voice field, or the read-only label. - Let the base URL choose the preset: two Ark presets now share one protocol and media kind, so `providerPresetFor` prefers the preset whose URL matches the connection and only falls back to the first match. Without this the Seed Audio connection was labelled "Volcano Ark / Agent Plan" in settings. - Accept the two reference shapes the service really takes: one image or up to six voice samples, never both. `image_url` and `audio_url` are exclusive at the provider, so the reference path rejects a mix, enforces 15 MB and 2–30 s per sample (180 s total), and still refuses video with a stable code. - Stop treating every audio model as reading-only: a profile that allows references no longer reports the reference as unused in the composer. - Cover the adapter with rule, request-shape, response-parsing, reference, validation and end-to-end job tests, and pin the profile/contract agreement so the sample rates cannot drift apart. ## verification - Live probe in `docs/development/seed-audio-1-5-probe.md` keeps the measured matrix: every published `output_format` and `sample_rate` was requested once, downloaded, and probed with `ffprobe` (mp3 at 8000/16000/24000/32000/48000, default 44100, wav 44100 as `pcm_s16le`), with the byte counts and response echo recorded. ## evidence - Live probe recorded in `docs/development/seed-audio-1-5-probe.md`: inline audio references only, video references rejected, synchronous response. - Real run through the command path: 161214-byte mp3, 8.72 s, 44100 Hz stereo. - `3516 passed, 131 skipped` on `d083cbc1`; `npm test` 1110 passed with the one env-only failure that also fails on `main`; build and `check:i18n` clean. - Browser: generate, adopt (`adoptionPolicy=if_current`), reopen with the audio intact, and the wrong-base refusal rendered in both locales. ## scope Text to audio plus one-image and voice-sample references. Separation, multi-artifact results, dubbing, translation, subtitles and custom voices stay out: every one of them needs a video or voice transport that the provider does not expose to this key. `video_url` accepts only `http(s)://` and `tos://`, and the Files API offers `user_data`, `agent` and `voice` purposes, so a project video cannot reach the service without a TOS bucket or a public URL. * [feat] storage: presign TOS objects so the provider can fetch project media Ark accepts only `http(s)://` and `tos://` for `video_url`, and a bare `tos://` key is refused with `AccessDenied` unless the account grants it service access. A presigned URL keeps the object private and still lets the service read it, so dubbing, translation and subtitle work can send a project video without publishing it. TOS4 signing is implemented with the standard library, so the container gains no dependency for what is a few HMAC rounds. Verified against the live bucket: a 68378-byte upload returned 200, the presigned URL served the same bytes, and Ark accepted it for `role=dubbing_video` with `target_language=zh`, returning a dubbed video, an extracted audio track and one SRT subtitle. Refs #650 * [feat] audio: dub a referenced video through the same Seed Audio model A dubbing request carries a `dubbing_video` and a language pair instead of a prompt, and comes back with three artifacts: the dubbed video, the extracted speech track and an SRT. The service refuses text in that scene, requires `dubbing_config`, and only accepts a video between 4 s and 6 min. The video is uploaded to the configured bucket and sent as a presigned URL, so a project video never has to be published. A missing storage configuration fails before submission with `seed_audio_storage` rather than after a wasted call. Verified against the live service: a 6 s clip with a speech track, uploaded to the bucket and presigned, returned `video_url`, one `audios` entry and one `subtitles` entry with `usage.duration_ms` 6016. Refs #650 * [feat] audio: dub from a subtitle file and validate the dubbing language pair A dubbing request without a subtitle makes the service listen to the video. With one, the supplied lines win, which is what a translated script needs. The SRT is an asset of the project, uploaded through the same presigned channel as the video, so `custom_subtitle` never carries a URL the service cannot read. Validation now refuses a dubbing request without a target language, a language pair outside dubbing, a subtitle outside dubbing, and a subtitle that is not a timed SRT within 2 MB. Refs #650 * [fix] audio: keep one language field per dubbing endpoint The dubbing parameters declared `targetLanguage` twice, so only the last declaration reached the generated contract and the adapter snapshot. Refs #650 * [feat] generation: keep every artifact a job produces ## summary One generation task can now deliver several files instead of silently keeping only the first: a dubbed video, separated audio tracks, and subtitle sidecars all land in the same project as real, inspectable assets. - `ResultVersion` carries `role`, `variant`, and `track`; `primary` stays the adopted output referenced by `Job.asset`. - Providers may return `GeneratedArtifact` items through an optional `generate_all()`; the single-file `generate()` default keeps existing adapters unchanged. - The adopted output and its siblings register in one commit under their own idempotent handles, so a failure never leaves an output without its siblings, and recovery replays the same commit without duplicates. - Artifact bytes are cached before the index (`artifacts.json`), and an index that cannot be validated is rejected instead of half-applied. - `result.select` rejects sidecars, and `job.status` reports every delivered artifact so users and the agent read the same projection. * [feat] audio: keep every file Seed Audio returns ## summary The Seed Audio adapter now names every file it produces, so the persistence layer added in the previous commit receives more than a bare `(suffix, bytes)`. `dubbing_artifacts()` and the renamed `audio_artifacts()` answer with `(role, url, suffix, variant, track)` tuples. The suffix comes from the URL the vendor returned, restricted to an allow-list; subtitles are told apart by `<scope>_<suffix>`; audio tracks are counted per `type` so two speakers cannot claim the same identity. Dubbing requests every subtitle the response can carry, so the parsed variants are reachable rather than theoretical. `VolcengineGeneration.generate_all()` collects those siblings through an optional `extra_ready` callback and downloads them itself, which keeps the persistence layer free of URLs. Providers without fan-out keep the single-file path, and the profile adapters that inherit the Volcengine `generate_all()` never reach the callback. ## tests - `python3 -m pytest tests -q -m "not browser"` -> 3552 passed, 133 skipped - `tests/test_seed_audio.py` -> 35 passed, including the multi-track job that adopts the primary audio and stores `speaker:0` beside it - `npx tsc --noEmit` -> no output; `node --test tests/*.test.ts` -> 0 fail; `check:i18n` -> 3828 keys, 0 problems * [feat] audio: separate a long recording into its own tracks Separation reads one recording up to six minutes and returns one entry per track, so the reference bound differs from the two-to-thirty-second voice samples a generation request takes. A separation request also carries no subtitle and no speech, loudness or pitch adjustment, which the parameters now refuse instead of forwarding to a service that ignores them. Refs #650 * [feat] canvas: offer a sibling track as a node version, not a subtitle A job that produced several files registered every one of them as a result, so a node's version list showed all of them. A subtitle was listed as a version of the audio node it belonged to even though adopting it fails the media-kind check, which leaves a row the user cannot use. The list now keeps a sibling only when its media kind matches the node. A separated track still appears and can be adopted as that node's audio, which is what the delivered files are for. `result_not_adoptable` also joins the contract message catalog, so the Agent reads the reason in English instead of a Chinese sentence. Refs #650 ## tests - `tests/test_result_artifacts.py` -> 12 passed, including the new version list case that fails without the filter (`Say hello-subtitle-target_srt.srt` is offered) and passes with it - `tests/test_creation_node_versions.py test_creation_crop.py test_creation_image_edits.py test_creation_media_publication.py test_command_version_contract.py` -> 108 passed - `check:i18n` -> 3828 keys, 0 problems * [bugfix] api: answer the side-artifact refusal in English `result.select` rejects an audio track or subtitle with a stable `result_not_adoptable` code, but the catalog had no English text for it, so an English interface fell back to the generic status sentence. The code now carries its own English sentence, and a test pins both languages the way the neighbouring contract codes are pinned. The extended `register` docstring from the previous commit is reverted: the contract it described lives in `docs/architecture/unified-project.md` and in the tests. Refs #650 ## tests - `tests/test_localization.py` -> 9 passed - `tests/test_result_artifacts.py tests/test_agent_artifacts.py tests/test_creation_assets.py` -> 65 passed * [feat] audio: explain the subtitle transport requirement before submitting A subtitle has to reach the service as a fetchable URL, and a desktop install has no public address to offer. Without storage the request now stops with `audio_subtitle_transport` instead of the generic storage message, in both interface languages. Also pins the six-track shape: one primary plus `speaker`, `sfx`, `bgm` and `composite` entries numbered within their own type. Refs #650 * [bugfix] audio: send the separation intent as separate_audio ## summary Seed Audio 1.5 tells 分轨 and 参考音频 apart by the `role` on each `content[].audio_url`, not by `taskType`. The outbound body hardcoded `reference_audio`, so a separation job was sent as "generate from this audio reference" and the service answered with one re-recording instead of the requested tracks; the canvas then showed one primary clip and the job read as a success. The business intent now picks the role where the request is prepared, and the outbound body only forwards what preparation decided: - `reference_inputs.seed_audio_references` records `separate_audio` for `taskType: separation` and keeps `reference_audio` for every other audio task, on the manifest entry too. - `seed_audio.request_body` takes `audio_role` and no longer hardcodes it. - `volcengine` passes the prepared role into the body. `#650` Tests: `tests/test_seed_audio.py` (39 passed), with red proof on both halves. Without the adapter pass-through the separation request goes out as `reference_audio`; without the preparation change the separation manifest raises `KeyError: 'audio_role'`. * [feat] models: keep the provider object-storage account with the account ## summary Ark can only read media from an address it can fetch itself, so 翻配, 视频参考 and 按字幕配音 all need the same thing first: the source media in object storage the user owns, handed over as a signed URL. The store already reads `storage` from a resolved model configuration, but nothing wrote it, so every dubbing call died on `seed_audio_storage` before any request went out. This adds the missing owner without inventing a second place for credentials: - `ModelConfigs` keeps `storage` (`accessKey`, `secretKey`, `bucket`, `region`) on the account layer next to the API key, so one Ark service and one bucket serve every model under it. It is validated on read, hoisted into the shared service record on write, and carried across edits of any model in that account. - `storage()` answers Bucket, Region and whether the account is configured; neither secret is ever returned. `save_storage()` treats a blank field as "keep the stored value", so a settings screen never has to echo a secret back to change a bucket. - An incomplete account is refused as a whole instead of failing later inside an adapter. `#650` Tests: `tests/test_model_configs.py` (36 passed) covers sharing across one account, restart, secret masking, blank-field updates and refusal; `tests/test_seed_audio.py` (41 passed) covers dubbing going out with the presigned address, and refusing before any request when no account is configured. The credential contract is written down in `docs/architecture/unified-project.md`. * [feat] api: let a model service hold its object-storage credentials ## summary The storage account added for remote-fetch providers had no way in from outside the process, so a user could not actually configure 翻配 or 视频参考. Two endpoints on the existing model-service resource close that: `GET /api/model-services/{id}/storage` reports the bucket, region and whether the account is usable, `POST` stores the four credentials. Neither secret comes back: the response is a separate public shape with no key fields at all, and the saved account is shared by every model of the same provider service. A blank field keeps the stored value, so changing a bucket never requires re-entering the secret, and an account with only some of the four fields is refused up front. The two refusals carry stable codes (`model_storage_incomplete`, `model_storage_invalid`) registered in the contract issue codes and the English catalog, so the interface answers them in its own language instead of echoing Chinese. `#650` Tests: `tests/test_model_configs.py` (37 passed) covers the read before any account exists, saving, masking, blank-field updates, the 409 refusal in both languages and the 404 for a deleted service; `tests/test_creation_contracts.py` (82 passed) regenerates and checks the new contract shapes. * [refactor] audio: publish provider media through one helper ## summary Ark can only read what it can fetch itself, so every request that carries a file has to put it in the user's bucket first and hand over a signed address. Dubbing did that inline for its video and, once subtitles arrived, a second nearly identical block grew inside the same branch — two copies of put, presign, cleanup and error mapping that the reference and subtitle paths would each have had to repeat. `_publish_media(config, task_id, data, suffix, content_type, noun=...)` now owns that step: it refuses before writing anything when the account is unconfigured, writes the bytes to a temporary file, uploads, presigns for an hour and always removes the temp file. Dubbing calls it for the video and for the subtitle, so the behaviour is the one already covered by the existing dubbing and subtitle tests, not a new one. The noun stays a parameter so a failure still says which file could not be published; the error code keeps coming from the transfer so the interface can answer in its own language. `#650` Tests: `tests/test_seed_audio.py` + `tests/test_result_artifacts.py` 53 passed, including the dubbing body carrying the presigned video URL and the subtitle travelling with it. * [refactor] audio: decide storage readiness in one place ## summary Two call sites now need the same yes/no answer about the provider account: the upload helper itself, and the subtitle path, which has to tell "this job has a subtitle and nothing to publish it with" apart from a plain missing account before it calls the helper. Keeping the four-field test in both places would let them drift, and a drifting readiness check shows up as a wrong error code rather than a test failure. `_storage_ready(config)` holds it once and `_publish_media` asks it, so the subtitle path and the helper can never disagree about whether the same account is usable. It stays on the Ark adapter: object storage is a property of a provider that only reads remote URLs, not of every generation provider, and the base class has no other reason to know about buckets. `#650` Tests: `tests/test_seed_audio.py` + `tests/test_result_artifacts.py` 53 passed, including dubbing refused with `seed_audio_storage` before any request when no account is configured, and publishing the video and subtitle when one is. * [feat] assets: upload a subtitle file as a subtitle asset ## summary 按字幕配音 needs an uploaded SRT, but the upload inspector only recognised `.txt` and `.md` as text. An `.srt` fell through to the media branch and came back as a generic file, so no subtitle asset could ever exist and `subtitleAssetId` was unreachable from the interface — the validation in the audio reference layer was correct and simply could never be satisfied. `.srt` now inspects as text with `application/x-subrip`, which is the type the reference layer already accepts. The size and UTF-8 checks are the existing text ones; a subtitle that is not valid SRT timings is still refused later, by the rule that owns that judgement. `#650` Tests: `tests/test_creation_assets.py::test_an_srt_upload_becomes_a_subtitle_asset` uploads a real SRT through the API and reads the bytes back; `tests/test_seed_audio.py` now asserts the reference layer accepts both `text/plain` and `application/x-subrip` subtitles. That test failed with `kind == 'file'` before `.srt` was recognised. 235 passed across the seven modules touched by this branch. * [feat] audio: accept the four reference shapes Seed Audio allows ## summary The provider takes exactly four reference combinations: one image, one video, up to six voice clips, or one video with voice clips. The adapter only ever implemented the first and third. A video fell into the "not supported" branch unless the task was dubbing, and voice clips were refused next to a video, so 视频参考生音频 and 音视频参考生音频 could not be requested at all — both are in the acceptance list for `#650`. Video is now a reference like any other. Dubbing keeps its own role `dubbing_video` and its MP4-only bound; every other task sends `reference_video` and accepts MP4 or MOV. Because the service can only fetch video from a URL, a reference video goes through the same `_publish_media` path as the dubbing source, and the declared content type follows the container brand instead of assuming MP4. The mix rule now states the real constraint: image cannot be combined with video or voice, and dubbing cannot carry voice clips. Image plus voice stays refused, as before. Three codes were added so each refusal keeps its own meaning in both languages: `audio_dubbing_video` (wrong format or length for dubbing), `audio_dubbing_source` (no source video), `audio_separation_video` (separation takes audio only). `audio_reference_video` now only means a video the service cannot accept, and `audio_reference_count` and `audio_reference_mix` were reworded to describe the wider matrix. `#650` Tests: `tests/test_seed_audio.py` covers a video travelling as `reference_video`, a video with a voice clip travelling together, the image-plus-video and separation-plus-video refusals, the declared type for both container brands, and a published video arriving in the request body. The publish test fails with an empty publish list before the adapter change. `tests/test_localization.py` answers each new code in English and Chinese. 236 passed across the seven modules touched by this branch. * [fix] api: keep the subtitle transport message in one catalog Audio issue codes reach the interface through `ENGLISH_BY_CODE` only, so the duplicate entry in `CONTRACT_MESSAGES` carried a translation nothing reads. Refs #650 * [feat] models: keep the provider object-storage account with the account ## summary Ark can only read media from an address it can fetch itself, so 翻配, 视频参考 and 按字幕配音 all need the same thing first: the source media in object storage the user owns, handed over as a signed URL. The store already reads `storage` from a resolved model configuration, but nothing wrote it, so every dubbing call died on `seed_audio_storage` before any request went out. This adds the missing owner without inventing a second place for credentials: - `ModelConfigs` keeps `storage` (`accessKey`, `secretKey`, `bucket`, `region`) on the account layer next to the API key, so one Ark service and one bucket serve every model under it. It is validated on read, hoisted into the shared service record on write, and carried across edits of any model in that account. - `storage()` answers Bucket, Region and whether the account is configured; neither secret is ever returned. `save_storage()` treats a blank field as "keep the stored value", so a settings screen never has to echo a secret back to change a bucket. - An incomplete account is refused as a whole instead of failing later inside an adapter. `#650` Tests: `tests/test_model_configs.py` (36 passed) covers sharing across one account, restart, secret masking, blank-field updates and refusal; `tests/test_seed_audio.py` (41 passed) covers dubbing going out with the presigned address, and refusing before any request when no account is configured. The credential contract is written down in `docs/architecture/unified-project.md`. * [feat] api: let a model service hold its object-storage credentials ## summary The storage account added for remote-fetch providers had no way in from outside the process, so a user could not actually configure 翻配 or 视频参考. Two endpoints on the existing model-service resource close that: `GET /api/model-services/{id}/storage` reports the bucket, region and whether the account is usable, `POST` stores the four credentials. Neither secret comes back: the response is a separate public shape with no key fields at all, and the saved account is shared by every model of the same provider service. A blank field keeps the stored value, so changing a bucket never requires re-entering the secret, and an account with only some of the four fields is refused up front. The two refusals carry stable codes (`model_storage_incomplete`, `model_storage_invalid`) registered in the contract issue codes and the English catalog, so the interface answers them in its own language instead of echoing Chinese. `#650` Tests: `tests/test_model_configs.py` (37 passed) covers the read before any account exists, saving, masking, blank-field updates, the 409 refusal in both languages and the 404 for a deleted service; `tests/test_creation_contracts.py` (82 passed) regenerates and checks the new contract shapes. * [refactor] audio: publish provider media through one helper ## summary Ark can only read what it can fetch itself, so every request that carries a file has to put it in the user's bucket first and hand over a signed address. Dubbing did that inline for its video and, once subtitles arrived, a second nearly identical block grew inside the same branch — two copies of put, presign, cleanup and error mapping that the reference and subtitle paths would each have had to repeat. `_publish_media(config, task_id, data, suffix, content_type, noun=...)` now owns that step: it refuses before writing anything when the account is unconfigured, writes the bytes to a temporary file, uploads, presigns for an hour and always removes the temp file. Dubbing calls it for the video and for the subtitle, so the behaviour is the one already covered by the existing dubbing and subtitle tests, not a new one. The noun stays a parameter so a failure still says which file could not be published; the error code keeps coming from the transfer so the interface can answer in its own language. `#650` Tests: `tests/test_seed_audio.py` + `tests/test_result_artifacts.py` 53 passed, including the dubbing body carrying the presigned video URL and the subtitle travelling with it. * [refactor] audio: decide storage readiness in one place ## summary Two call sites now need the same yes/no answer about the provider account: the upload helper itself, and the subtitle path, which has to tell "this job has a subtitle and nothing to publish it with" apart from a plain missing account before it calls the helper. Keeping the four-field test in both places would let them drift, and a drifting readiness check shows up as a wrong error code rather than a test failure. `_storage_ready(config)` holds it once and `_publish_media` asks it, so the subtitle path and the helper can never disagree about whether the same account is usable. It stays on the Ark adapter: object storage is a property of a provider that only reads remote URLs, not of every generation provider, and the base class has no other reason to know about buckets. `#650` Tests: `tests/test_seed_audio.py` + `tests/test_result_artifacts.py` 53 passed, including dubbing refused with `seed_audio_storage` before any request when no account is configured, and publishing the video and subtitle when one is. * [feat] assets: upload a subtitle file as a subtitle asset ## summary 按字幕配音 needs an uploaded SRT, but the upload inspector only recognised `.txt` and `.md` as text. An `.srt` fell through to the media branch and came back as a generic file, so no subtitle asset could ever exist and `subtitleAssetId` was unreachable from the interface — the validation in the audio reference layer was correct and simply could never be satisfied. `.srt` now inspects as text with `application/x-subrip`, which is the type the reference layer already accepts. The size and UTF-8 checks are the existing text ones; a subtitle that is not valid SRT timings is still refused later, by the rule that owns that judgement. `#650` Tests: `tests/test_creation_assets.py::test_an_srt_upload_becomes_a_subtitle_asset` uploads a real SRT through the API and reads the bytes back; `tests/test_seed_audio.py` now asserts the reference layer accepts both `text/plain` and `application/x-subrip` subtitles. That test failed with `kind == 'file'` before `.srt` was recognised. 235 passed across the seven modules touched by this branch. * [feat] audio: accept the four reference shapes Seed Audio allows ## summary The provider takes exactly four reference combinations: one image, one video, up to six voice clips, or one video with voice clips. The adapter only ever implemented the first and third. A video fell into the "not supported" branch unless the task was dubbing, and voice clips were refused next to a video, so 视频参考生音频 and 音视频参考生音频 could not be requested at all — both are in the acceptance list for `#650`. Video is now a reference like any other. Dubbing keeps its own role `dubbing_video` and its MP4-only bound; every other task sends `reference_video` and accepts MP4 or MOV. Because the service can only fetch video from a URL, a reference video goes through the same `_publish_media` path as the dubbing source, and the declared content type follows the container brand instead of assuming MP4. The mix rule now states the real constraint: image cannot be combined with video or voice, and dubbing cannot carry voice clips. Image plus voice stays refused, as before. Three codes were added so each refusal keeps its own meaning in both languages: `audio_dubbing_video` (wrong format or length for dubbing), `audio_dubbing_source` (no source video), `audio_separation_video` (separation takes audio only). `audio_reference_video` now only means a video the service cannot accept, and `audio_reference_count` and `audio_reference_mix` were reworded to describe the wider matrix. `#650` Tests: `tests/test_seed_audio.py` covers a video travelling as `reference_video`, a video with a voice clip travelling together, the image-plus-video and separation-plus-video refusals, the declared type for both container brands, and a published video arriving in the request body. The publish test fails with an empty publish list before the adapter change. `tests/test_localization.py` answers each new code in English and Chinese. 236 passed across the seven modules touched by this branch. * [bugfix] canvas: let a video feed a dubbing node ## summary A video node could not feed a dubbing node. The canvas type matrix let an audio node take a video only from an image, so `reference.add` answered `reference_invalid` for exactly the reference dubbing needs and the assistant could not start the job at all. Both tables change together because the assembly test asserts the Python set and the TypeScript table are the same product truth. ## verification - `Ran:` tests/test_creation_assembly.py, tests/test_agent_seed_audio.py - Before the change the assistant test failed in `reference.add` with `reference_invalid` "该节点类型不能作为目标节点的参考。" * [bugfix] canvas: send an audio node the media its model declares ## summary Every media reference attached to an audio generation was demoted to `context_only`, so no image, video or voice clip could ever reach the provider. The audio branch was written when an audio node meant speech or music, and only a music recording was allowed through; Seed Audio dubbing, separation and reference tasks all take media, and their declared capability contract already says so. Transmission now follows the same capability contract the rest of the product uses: a media kind the model accepts, with a remaining slot for that kind, travels as `content`; anything else stays `context_only`. ## verification - `Ran:` tests/test_seed_audio.py, tests/test_agent_seed_audio.py, tests/test_creation_parameters.py - Without the change the assistant test failed before any request with "翻配需要引用一段视频。" because the accepted video never left the project. * [bugfix] audio: run the operation Seed Audio declares and record what it returns ## summary The Seed Audio route never ran the operation the task asked for. The parameter builder wrote the operation under `task`, while the adapter and the reference builder read `taskType`, so dubbing and separation fell back to plain text-to-audio: a dubbing job carried no video and the provider answered with an ordinary speech file the project accepted as a success. Dubbing also returns a re-voiced video rather than audio, which the job contract refused: an audio execution could only own an audio asset. The execution record now names the media the provider delivers, and the result is registered with that kind instead of the model kind. ## verification - `Ran:` tests/test_agent_seed_audio.py, tests/test_seed_audio.py, tests/test_creation_parameters.py, tests/test_creation_generation_service.py, tests/test_creation_contracts.py - Without the parameter change the assistant test posted a text-only body and failed on the missing `video_url`. - Without the delivered-kind record the same test failed at save with "Job execution/output kind differs from its inputs". * [bugfix] models: build the public model shape in one place ## summary Four call sites rebuilt `ModelConfigPublic` by copying the resolved service record and dropping only `apiKey`. Once a model service also carried its object-storage credentials, the strict public shape rejected the extra key and every spec projection failed with `invalid_input: "storage: Extra inputs are not permitted"`, which reached the user as a refusal to submit work at all. One factory drops everything the public shape must never carry, so a future service-level field cannot break submission again. ## verification - `Ran:` tests/test_agent_seed_audio.py, tests/test_creation_parameters.py, tests/test_creation_canvas_service.py, tests/test_creation_node_versions.py - Before the change the assistant test failed with `invalid_input: "storage: Extra inputs are not permitted"` before any request was sent. * [test] agent: dub a video through the assistant ## summary Every Seed Audio test built its own task dictionary, so the assistant and canvas path was never exercised: parameter projection, reference transmission, the outbound body and result registration could each break while the suite stayed green. These tests drive `execute_command` the way the agent does and check the request that left the process, the files that came back, and the timeline that can hold the extra voice track. Writing them exposed four real defects: the video node could not reference the audio node, the reference was demoted to `context_only`, the operation key was never read, and an audio execution could not own the video that dubbing returns. ## verification - `Ran:` tests/test_agent_seed_audio.py - The request assertion requires a `dubbing_video` reference and no text. - The timeline assertion requires the generated composite track to be placeable as an audio clip beside the dubbed video. * [feat] models: keep the provider object-storage account with the account ## summary Ark can only read media from an address it can fetch itself, so 翻配, 视频参考 and 按字幕配音 all need the same thing first: the source media in object storage the user owns, handed over as a signed URL. The store already reads `storage` from a resolved model configuration, but nothing wrote it, so every dubbing call died on `seed_audio_storage` before any request went out. This adds the missing owner without inventing a second place for credentials: - `ModelConfigs` keeps `storage` (`accessKey`, `secretKey`, `bucket`, `region`) on the account layer next to the API key, so one Ark service and one bucket serve every model under it. It is validated on read, hoisted into the shared service record on write, and carried across edits of any model in that account. - `storage()` answers Bucket, Region and whether the account is configured; neither secret is ever returned. `save_storage()` treats a blank field as "keep the stored value", so a settings screen never has to echo a secret back to change a bucket. - An incomplete account is refused as a whole instead of failing later inside an adapter. `#650` Tests: `tests/test_model_configs.py` (36 passed) covers sharing across one account, restart, secret masking, blank-field updates and refusal; `tests/test_seed_audio.py` (41 passed) covers dubbing going out with the presigned address, and refusing before any request when no account is configured. The credential contract is written down in `docs/architecture/unified-project.md`. * [feat] api: let a model service hold its object-storage credentials ## summary The storage account added for remote-fetch providers had no way in from outside the process, so a user could not actually configure 翻配 or 视频参考. Two endpoints on the existing model-service resource close that: `GET /api/model-services/{id}/storage` reports the bucket, region and whether the account is usable, `POST` stores the four credentials. Neither secret comes back: the response is a separate public shape with no key fields at all, and the saved account is shared by every model of the same provider service. A blank field keeps the stored value, so changing a bucket never requires re-entering the secret, and an account with only some of the four fields is refused up front. The two refusals carry stable codes (`model_storage_incomplete`, `model_storage_invalid`) registered in the contract issue codes and the English catalog, so the interface answers them in its own language instead of echoing Chinese. `#650` Tests: `tests/test_model_configs.py` (37 passed) covers the read before any account exists, saving, masking, blank-field updates, the 409 refusal in both languages and the 404 for a deleted service; `tests/test_creation_contracts.py` (82 passed) regenerates and checks the new contract shapes. * [refactor] audio: publish provider media through one helper ## summary Ark can only read what it can fetch itself, so every request that carries a file has to put it in the user's bucket first and hand over a signed address. Dubbing did that inline for its video and, once subtitles arrived, a second nearly identical block grew inside the same branch — two copies of put, presign, cleanup and error mapping that the reference and subtitle paths would each have had to repeat. `_publish_media(config, task_id, data, suffix, content_type, noun=...)` now owns that step: it refuses before writing anything when the account is unconfigured, writes the bytes to a temporary file, uploads, presigns for an hour and always removes the temp file. Dubbing calls it for the video and for the subtitle, so the behaviour is the one already covered by the existing dubbing and subtitle tests, not a new one. The noun stays a parameter so a failure still says which file could not be published; the error code keeps coming from the transfer so the interface can answer in its own language. `#650` Tests: `tests/test_seed_audio.py` + `tests/test_result_artifacts.py` 53 passed, including the dubbing body carrying the presigned video URL and the subtitle travelling with it. * [refactor] audio: decide storage readiness in one place ## summary Two call sites now need the same yes/no answer about the provider account: the upload helper itself, and the subtitle path, which has to tell "this job has a subtitle and nothing to publish it with" apart from a plain missing account before it calls the helper. Keeping the four-field test in both places would let them drift, and a drifting readiness check shows up as a wrong error code rather than a test failure. `_storage_ready(config)` holds it once and `_publish_media` asks it, so the subtitle path and the helper can never disagree about whether the same account is usable. It stays on the Ark adapter: object storage is a property of a provider that only reads remote URLs, not of every generation provider, and the base class has no other reason to know about buckets. `#650` Tests: `tests/test_seed_audio.py` + `tests/test_result_artifacts.py` 53 passed, including dubbing refused with `seed_audio_storage` before any request when no account is configured, and publishing the video and subtitle when one is. * [feat] assets: upload a subtitle file as a subtitle asset ## summary 按字幕配音 needs an uploaded SRT, but the upload inspector only recognised `.txt` and `.md` as text. An `.srt` fell through to the media branch and came back as a generic file, so no subtitle asset could ever exist and `subtitleAssetId` was unreachable from the interface — the validation in the audio reference layer was correct and simply could never be satisfied. `.srt` now inspects as text with `application/x-subrip`, which is the type the reference layer already accepts. The size and UTF-8 checks are the existing text ones; a subtitle that is not valid SRT timings is still refused later, by the rule that owns that judgement. `#650` Tests: `tests/test_creation_assets.py::test_an_srt_upload_becomes_a_subtitle_asset` uploads a real SRT through the API and reads the bytes back; `tests/test_seed_audio.py` now asserts the reference layer accepts both `text/plain` and `application/x-subrip` subtitles. That test failed with `kind == 'file'` before `.srt` was recognised. 235 passed across the seven modules touched by this branch. * [feat] audio: accept the four reference shapes Seed Audio allows ## summary The provider takes exactly four reference combinations: one image, one video, up to six voice clips, or one video with voice clips. The adapter only ever implemented the first and third. A video fell into the "not supported" branch unless the task was dubbing, and voice clips were refused next to a video, so 视频参考生音频 and 音视频参考生音频 could not be requested at all — both are in the acceptance list for `#650`. Video is now a reference like any other. Dubbing keeps its own role `dubbing_video` and its MP4-only bound; every other task sends `reference_video` and accepts MP4 or MOV. Because the service can only fetch video from a URL, a reference video goes through the same `_publish_media` path as the dubbing source, and the declared content type follows the container brand instead of assuming MP4. The mix rule now states the real constraint: image cannot be combined with video or voice, and dubbing cannot carry voice clips. Image plus voice stays refused, as before. Three codes were added so each refusal keeps its own meaning in both languages: `audio_dubbing_video` (wrong format or length for dubbing), `audio_dubbing_source` (no source video), `audio_separation_video` (separation takes audio only). `audio_reference_video` now only means a video the service cannot accept, and `audio_reference_count` and `audio_reference_mix` were reworded to describe the wider matrix. `#650` Tests: `tests/test_seed_audio.py` covers a video travelling as `reference_video`, a video with a voice clip travelling together, the image-plus-video and separation-plus-video refusals, the declared type for both container brands, and a published video arriving in the request body. The publish test fails with an empty publish list before the adapter change. `tests/test_localization.py` answers each new code in English and Chinese. 236 passed across the seven modules touched by this branch. * [bugfix] canvas: let a video feed a dubbing node ## summary A video node could not feed a dubbing node. The canvas type matrix let an audio node take a video only from an image, so `reference.add` answered `reference_invalid` for exactly the reference dubbing needs and the assistant could not start the job at all. Both tables change together because the assembly test asserts the Python set and the TypeScript table are the same product truth. ## verification - `Ran:` tests/test_creation_assembly.py, tests/test_agent_seed_audio.py - Before the change the assistant test failed in `reference.add` with `reference_invalid` "该节点类型不能作为目标节点的参考。" * [bugfix] canvas: send an audio node the media its model declares ## summary Every media reference attached to an audio generation was demoted to `context_only`, so no image, video or voice clip could ever reach the provider. The audio branch was written when an audio node meant speech or music, and only a music recording was allowed through; Seed Audio dubbing, separation and reference tasks all take media, and their declared capability contract already says so. Transmission now follows the same capability contract the rest of the product uses: a media kind the model accepts, with a remaining slot for that kind, travels as `content`; anything else stays `context_only`. ## verification - `Ran:` tests/test_seed_audio.py, tests/test_agent_seed_audio.py, tests/test_creation_parameters.py - Without the change the assistant test failed before any request with "翻配需要引用一段视频。" because the accepted video never left the project. * [bugfix] audio: run the operation Seed Audio declares and record what it returns ## summary The Seed Audio route never ran the operation the task asked for. The parameter builder wrote the operation under `task`, while the adapter and the reference builder read `taskType`, so dubbing and separation fell back to plain text-to-audio: a dubbing job carried no video and the provider answered with an ordinary speech file the project accepted as a success. Dubbing also returns a re-voiced video rather than audio, which the job contract refused: an audio execution could only own an audio asset. The execution record now names the media the provider delivers, and the result is registered with that kind instead of the model kind. ## verification - `Ran:` tests/test_agent_seed_audio.py, tests/test_seed_audio.py, tests/test_creation_parameters.py, tests/test_creation_generation_service.py, tests/test_creation_contracts.py - Without the parameter change the assistant test posted a text-only body and failed on the missing `video_url`. - Without the delivered-kind record the same test failed at save with "Job execution/output kind differs from its inputs". * [bugfix] models: build the public model shape in one place ## summary Four call sites rebuilt `ModelConfigPublic` by copying the resolved service record and dropping only `apiKey`. Once a model service also carried its object-storage credentials, the strict public shape rejected the extra key and every spec projection failed with `invalid_input: "storage: Extra inputs are not permitted"`, which reached the user as a refusal to submit work at all. One factory drops everything the public shape must never carry, so a future service-level field cannot break submission again. ## verification - `Ran:` tests/test_agent_seed_audio.py, tests/test_creation_parameters.py, tests/test_creation_canvas_service.py, tests/test_creation_node_versions.py - Before the change the assistant test failed with `invalid_input: "storage: Extra inputs are not permitted"` before any request was sent. * [test] agent: dub a video through the assistant ## summary Every Seed Audio test built its own task dictionary, so the assistant and canvas path was never exercised: parameter projection, reference transmission, the outbound body and result registration could each break while the suite stayed green. These tests drive `execute_command` the way the agent does and check the request that left the process, the files that came back, and the timeline that can hold the extra voice track. Writing them exposed four real defects: the video node could not reference the audio node, the reference was demoted to `context_only`, the operation key was never read, and an audio execution could not own the video that dubbing returns. ## verification - `Ran:` tests/test_agent_seed_audio.py - The request assertion requires a `dubbing_video` reference and no text. - The timeline assertion requires the generated composite track to be placeable as an audio clip beside the dubbed video. * [build] repo: keep a node_modules link out of the tree ## summary A merge brought in a `node_modules` symlink pointing at an absolute path on the machine that created it, and `.gitignore` matched only the directory form, so the link passed the ignore rule. Untrack it and match both forms. ## verification - `Ran:` git ls-files node_modules (empty after the change) - `Not run:` nothing else; no source or test changed * [feat] canvas: let a model declare the audio operation and collect what it needs An audio model publishes audioTasks, but the canvas dropped that list at the data boundary and only carried creationType and mode. Seed Audio 1.5 generates speech, dubs a video and separates stems from the same model, so a user could reach only the default operation. The settings now carry audioTask, targetLanguage, sourceLanguage and subtitleAssetId. dataBoundary keeps them, the projection writes the contract key taskType plus the three dubbing fields, and the reverse mapping restores them. chosenAudioTask prefers the user's choice and falls back to the first declared task, audioTaskParameters sends a language only for dubbing, subtitleChoices offers only application/x-subrip text assets, and backendBlocker refuses dubbing without a target language. Ran: node --test tests/audioTask.test.ts (5 passed) Ran: ./node_modules/.bin/tsc --noEmit (clean) Ran: npm test (1120 passed) Ran: npm run check:i18n (3872 keys, 0 problems) * [feat] canvas: name every artifact of a job in the version list A job delivers a primary output plus audio tracks and subtitles, and the version list showed those siblings as interchangeable versions. Adopting one would point the node at a file the job never adopted. node_versions now reports role, variant and track for each row, apply_node_version refuses a non-primary row with result_not_adoptable, and the dialog labels the side artifact and keeps the apply button off it. The subtitle row stays out of an audio node because its kind differs. Ran: python3 -m pytest tests/test_result_artifacts.py (12 passed) Ran: node --test tests/artifactLabel.test.ts (1 passed) Ran: python3 -m pytest tests/test_creation_node_versions.py tests/test_seed_audio.py tests/test_agent_seed_audio.py tests/test_creation_workflow.py tests/test_localization.py (99 passed, 1 filelock flake that passes alone) * [feat] audio: complete Seed Audio 1.5 canvas, dubbing and re-voice flows - add operation, language, audited-SRT, voice and outputVideo inputs to the canvas audio composer, and play a video result in the node - list subtitle side artifacts separately so they stay reviewable without becoming adoptable node versions, and count the badge with the same filter as the version dialog - validate every SRT cue locally and report a refused input as an input failure with specific zh-CN/en-US guidance before any provider request - keep separation stem identity and mix a composite track, mux a playable re-voiced video, and record target/source subtitles from dubbing - document the user journey and the live verification receipts * [docs] audio: record the verified Seed Audio preset voices * [style] audio: express the Seed Audio behavior through code * [bugfix] audio: cache every delivered file before the adopted output * [docs] audio: match the Seed Audio guide to the accepted input shapes * [docs] audio: keep sibling adoption and version wording exact * [build] repo: drop the unrelated ignore tweak from this PR * [style] audio: remove the last explanatory code comments * [bugfix] audio: localize object-storage failures and align the guide counts * [bugfix] audio: keep specific input codes at the command boundary * [feat] audio: finish the Seed Audio account, adoption and recovery paths - let an audio node adopt the video primary its own dubbing job produced - expose the Seed Audio object-storage setup in the model-service form - resume recorded sibling artifacts instead of losing them on retry - stop advertising the unpublished reference operation - keep a failed upload temp-file cleanup from masking the transfer result Co-Authored-By: Claude Code <noreply@anthropic.com> * [style] audio: let the storage predicate carry its own meaning * [bugfix] canvas: keep object-storage failure guidance after restart A stored Seed Audio storage failure kept its Chinese text persisted in the job record, so the English card fell back to the generic input category. Map the storage-required and upload-failure messages to bilingual copy. Co-Authored-By: Claude Code <noreply@anthropic.com> * [bugfix] audio: drop recorded artifact locators when a task is cleared clear() removed the artifacts and artifacts.json but left artifact-locators.json with presigned URLs behind. Unlink it too. Co-Authored-By: Claude Code <noreply@anthropic.com> * test(ci): enroll seed audio and upstream Ark modules in Python shards #692 split the Python suite into three shard manifests, but #676 added tests/test_ark_availability.py after that list was generated, so the manifest-coverage test fails on current main. Enroll that module together with the seed-audio modules this branch adds so each test module is collected exactly once. * fix(canvas): do not label source subtitles with the target language Source SRT/JSONL artifacts belong to the input language, but both artifact notes appended the version's targetLanguage, so a zh->en dubbing job showed "源字幕 · 英语" / "Source subtitles · English". Build the note once and omit the language for source roles; target rows keep it. * fix(provider): send MP3 voice references with Ark's accepted subtype Uploaded MP3s are stored as audio/mpeg, and the adapter forwarded that MIME into the inline data URL. Ark accepts only the mp3 and wav subtypes, so a valid local MP3 reference reached the provider as audio/mpeg and failed. Emit audio/mp3 for audio/mpeg (and audio/wav for audio/x-wav). * fix(models): keep storage fields the user typed while a read is pending Opening an existing service read its object-storage settings asynchronously and replaced the whole form state when the response arrived, silently discarding credentials typed in the meantime. Disable the storage fieldset while the read is pending and merge a late response only into blank fields. * [feat] models: fold object storage into an optional section Text-to-audio needs only the API key. Video references, dubbing and translation still need the account's TOS credentials, but the four fields no longer dominate the Add service form: the section starts collapsed, states that it is optional, and expands on demand. The browser test pins the collapsed default and the four expanded fields. Co-Authored-By: Claude Code <noreply@anthropic.com> * [ci] tests: enroll new main test modules in the Python shards main (#681) added tests/test_trace_job_queries.py and tests/test_wait_outcome.py; the release shard manifest must list every test module exactly once. * [test] agent: keep artifacts in the job-show delivery reference #681 compares the optimized job.status delivery with a full-read reconstruction. This branch adds artifact rows to the delivery, so the reconstruction has to include them for the four variants. * [ci] retry: desktop smoke did not focus project search The macOS desktop smoke failed on fd32e7ad with 'Project search did not take focus' while every other job passed; the same job passed on the parent merge tip 2a37b068 and the only diff is a Python test reference. Retrying to confirm runner flake. * [ci] retry: desktop search focus smoke again The macOS desktop smoke failed twice on the same app tree that passed on 2a37b068 ('Project search did not take focus'); all other jobs are green. This commit only retries that runner job. * [bugfix] model services: save object storage atomically with the service A batch edit rebuilt the provider's model rows and dropped their storage; the follow-up storage POST then could not merge the keys the form never reads back. New services could also leave a second connection set behind when that second write failed and the user retried in the same form. The batch write now carries existing storage forward, merges partial updates (only bucket/region are read back) in the same transaction, and accepts storage up front, so the form saves a service and its storage in one request. Refs #650 * [ci] retry: desktop search focus smoke --------- Co-authored-by: dev <dev@example.com> Co-authored-by: Zhangbo-cn <zhangbo@users.noreply.github.com> Co-authored-by: Claude Code <noreply@anthropic.com>
Summary
pythonjob in.github/workflows/release-checks.ymlinto three parallel matrix shards (core,agent-cli,media) driven byscripts/ci/python_shards.json, keeping full Python test coverage with zero dropped cases.Bundled OpenCode model gateway regressionandNative Harness visual regressionsteps (including the ~168.5s uncached harness CLI install) into a parallelpython-nativejob and registerpython-nativeas a required lane inscripts/ci/summarize_checks.py.scripts/ci/check_test_layers.pywith--list-shardand--shard-profilesso thechecksaggregate job verifies exact node-ID conservation between a fullpytest tests --collect-only -m cpuinventory and the three executed shard profiles, plus--require-executedon alltests/ci_ready_contract.jsonPR representatives.missing_rollout=Trueparameterizations intests/test_native_runtime.py(default,opencode,claude), where line 125 previously coercedmissing_rollouttoFalsefor every runtime exceptcodex.Linked issue
Labels
Apply
type:ciandarea:ciperCONTRIBUTING.md.Test plan
c362df3571168c62839f203109265de01c64d8d7against base104cd9ed44eb03c453b0b3b52f69d205111a0b78):pytest --basetemp=/tmp/od-ci-pytest-tmp tests/test_ci_hardware.py tests/test_ci_layers.py tests/test_ci_profile.py tests/test_ci_scope.py tests/test_ci_security.py tests/test_ci_summary.py -q-> 216 passed (28.41s).pytest tests/test_native_runtime.py -k test_native_events_real_cli_and_shared_write -v-> 5 passed, 28 deselected (preservingFalse-default,False-opencode,False-codex,True-codex,False-claude).pytest tests --collect-only -q -m cpu+ 3 shard--collect-onlyruns audited viascripts/ci/check_test_layers.py --profile ... --shard-profiles ...-> 3,820 tests (core=2621,agent-cli=437,media=762), zero duplicates, zero missing cases, 18 capabilities / 152 PR representatives aligned.pre-commithooks on both commits (check yaml,check json,check python ast,Lint GitHub Actions workflow files/actionlint) -> all passed.Release checks(python3-shard matrix,python-native,checksartifact download and--require-executedshard audit) and actual before/after PR wall-clock timing measurement.104cd9ed44eb03c453b0b3b52f69d205111a0b78c362df3571168c62839f203109265de01c64d8d7Evidence that it works
Visual evidence is N/A: this PR only changes CI workflow orchestration, test sharding manifests/audits, and a duplicate test parameterization; there are no user-visible UI, media, or product runtime changes.
Baseline CI measurement (6 successful non-docs
Release checksruns on 2026-12-04:47361449254,47335776912,47332260956,47326951300,47326254508,47300800528): total PR wall time median 22.3 min (range 16.5 to 24.8 min), dominated bychecks / pythonmedian 21.4 min (911.5s serial pytest + 168.5s uncached harness CLI install + 58.5s bundled OpenCode + 28.5s harness visual + 73s setup), compared tochecks / browser (isolated)median 9.4 min. Live post-change wall-clock speedup is not claimed yet and will be measured from the PR's actualRelease checksrun.Local conservation receipt on
c362df3571168c62839f203109265de01c64d8d7:{"tests": 3820, "layers": {"ready": 3740, "merge": 68, "nightly": 12}, "unmarked": 3455, "capabilities": 18, "representative_cases": 152, "representative_outcomes": {"not_run": 152}, "browser_gate": 1, "shards": {"core": 2621, "agent-cli": 437, "media": 762}}Applicable evidence attached and visual N/A explained
Provider verification
Bilingual UI
EN / 中文format).